package com.feicheng.persistence.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feicheng.persistence.entity.Adv;
import com.feicheng.persistence.model.AdvPojo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cailongyang
 * @since 2022-02-08
 */
public interface AdvMapper extends BaseMapper<Adv> {
	
	Page<AdvPojo> getAdvPage(IPage<AdvPojo> page, @Param(Constants.WRAPPER) Wrapper wrapper);
	
	List<AdvPojo> getAdvPage(@Param(Constants.WRAPPER) Wrapper wrapper);
	
}
